package cn.itcast.a_helloworld;


import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;

public class Xxx implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) throws Exception {
        System.out.println(execution.getCurrentActivityId());
        String currentActivityName = execution.getCurrentActivityName();
        System.out.println(currentActivityName);
    }
}
